import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementPlus from 'element-plus' //全局引入
import 'element-plus/dist/index.css'
import axios from './axios'


require("./mock.js")
const app=createApp(App).use(store).use(ElementPlus).use(router)
app.config.errorHandler = () => null;
// 屏蔽警告信息
app.config.warnHandler = () => null;
app.config.globalProperties.$axios=axios
app.config.productionTip=false
app.mount('#app')